home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-03-25 | 3.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 47 31 63 6c 61 73 73 20 |........|G1class |
|00000010| 55 44 61 6d 61 67 65 49 | 6e 76 20 65 78 74 65 6e |UDamageI|nv exten|
|00000020| 64 73 20 50 6f 77 65 72 | 75 70 73 3b 0d 0a 0d 0a |ds Power|ups;....|
|00000030| 0d 0a 76 61 72 20 57 65 | 61 70 6f 6e 20 55 44 61 |..var We|apon UDa|
|00000040| 6d 61 67 65 57 65 61 70 | 6f 6e 3b 0d 0a 76 61 72 |mageWeap|on;..var|
|00000050| 20 73 6f 75 6e 64 20 45 | 78 74 72 61 46 69 72 65 | sound E|xtraFire|
|00000060| 53 6f 75 6e 64 3b 0d 0a | 76 61 72 20 73 6f 75 6e |Sound;..|var soun|
|00000070| 64 20 45 6e 64 46 69 72 | 65 53 6f 75 6e 64 3b 0d |d EndFir|eSound;.|
|00000080| 0a 76 61 72 20 69 6e 74 | 20 46 69 6e 61 6c 43 6f |.var int| FinalCo|
|00000090| 75 6e 74 3b 0d 0a 0d 0a | 73 69 6e 67 75 6c 61 72 |unt;....|singular|
|000000a0| 20 66 75 6e 63 74 69 6f | 6e 20 55 73 65 64 55 70 | functio|n UsedUp|
|000000b0| 28 29 0d 0a 7b 0d 0a 09 | 69 66 20 28 20 55 44 61 |()..{...|if ( UDa|
|000000c0| 6d 61 67 65 57 65 61 70 | 6f 6e 20 21 3d 20 4e 6f |mageWeap|on != No|
|000000d0| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 55 44 61 6d |ne )...{|....UDam|
|000000e0| 61 67 65 57 65 61 70 6f | 6e 2e 53 65 74 44 65 66 |ageWeapo|n.SetDef|
|000000f0| 61 75 6c 74 44 69 73 70 | 6c 61 79 50 72 6f 70 65 |aultDisp|layPrope|
|00000100| 72 74 69 65 73 28 29 3b | 0d 0a 09 09 55 44 61 6d |rties();|....UDam|
|00000110| 61 67 65 57 65 61 70 6f | 6e 2e 41 66 66 65 63 74 |ageWeapo|n.Affect|
|00000120| 6f 72 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 7d 0d 0a |or = Non|e;...}..|
|00000130| 09 69 66 20 28 20 4f 77 | 6e 65 72 20 21 3d 20 4e |.if ( Ow|ner != N|
|00000140| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |one )...|{....if |
|00000150| 28 20 50 61 77 6e 28 4f | 77 6e 65 72 29 2e 43 6f |( Pawn(O|wner).Co|
|00000160| 6e 74 72 6f 6c 6c 65 72 | 20 21 3d 20 4e 6f 6e 65 |ntroller| != None|
|00000170| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 69 66 20 28 | )....{.|....if (|
|00000180| 20 21 50 61 77 6e 28 4f | 77 6e 65 72 29 2e 49 73 | !Pawn(O|wner).Is|
|00000190| 50 6c 61 79 65 72 50 61 | 77 6e 28 29 20 7c 7c 20 |PlayerPa|wn() || |
|000001a0| 28 50 61 77 6e 28 4f 77 | 6e 65 72 29 2e 50 6c 61 |(Pawn(Ow|ner).Pla|
|000001b0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|000001c0| 66 6f 2e 48 61 73 46 6c | 61 67 20 3d 3d 20 4e 6f |fo.HasFl|ag == No|
|000001d0| 6e 65 29 20 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |ne) )...|..{.....|
|000001e0| 09 4f 77 6e 65 72 2e 41 | 6d 62 69 65 6e 74 47 6c |.Owner.A|mbientGl|
|000001f0| 6f 77 20 3d 20 4f 77 6e | 65 72 2e 44 65 66 61 75 |ow = Own|er.Defau|
|00000200| 6c 74 2e 41 6d 62 69 65 | 6e 74 47 6c 6f 77 3b 0d |lt.Ambie|ntGlow;.|
|00000210| 0a 09 09 09 09 4f 77 6e | 65 72 2e 4c 69 67 68 74 |.....Own|er.Light|
|00000220| 54 79 70 65 20 3d 20 4c | 54 5f 4e 6f 6e 65 3b 0d |Type = L|T_None;.|
|00000230| 0a 09 09 09 09 4f 77 6e | 65 72 2e 62 44 79 6e 61 |.....Own|er.bDyna|
|00000240| 6d 69 63 4c 69 67 68 74 | 20 3d 20 66 61 6c 73 65 |micLight| = false|
|00000250| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 09 50 61 77 6e |;.....}.|....Pawn|
|00000260| 28 4f 77 6e 65 72 29 2e | 44 61 6d 61 67 65 53 63 |(Owner).|DamageSc|
|00000270| 61 6c 69 6e 67 20 3d 20 | 31 2e 30 3b 0d 0a 09 09 |aling = |1.0;....|
|00000280| 7d 0d 0a 09 09 62 41 63 | 74 69 76 65 20 3d 20 66 |}....bAc|tive = f|
|00000290| 61 6c 73 65 3b 0d 0a 09 | 09 69 66 20 28 20 4f 77 |alse;...|.if ( Ow|
|000002a0| 6e 65 72 2e 49 6e 76 65 | 6e 74 6f 72 79 20 21 3d |ner.Inve|ntory !=|
|000002b0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 7b 0d 0a 09 09 | None ).|...{....|
|000002c0| 09 4f 77 6e 65 72 2e 49 | 6e 76 65 6e 74 6f 72 79 |.Owner.I|nventory|
|000002d0| 2e 53 65 74 4f 77 6e 65 | 72 44 69 73 70 6c 61 79 |.SetOwne|rDisplay|
|000002e0| 28 29 3b 0d 0a 09 09 09 | 4f 77 6e 65 72 2e 49 6e |();.....|Owner.In|
|000002f0| 76 65 6e 74 6f 72 79 2e | 4f 77 6e 65 72 45 76 65 |ventory.|OwnerEve|
|00000300| 6e 74 28 27 43 68 61 6e | 67 65 64 57 65 61 70 6f |nt('Chan|gedWeapo|
|00000310| 6e 27 29 3b 0d 0a 09 09 | 7d 0d 0a 09 09 69 66 20 |n');....|}....if |
|00000320| 28 4c 65 76 65 6c 2e 47 | 61 6d 65 2e 53 74 61 74 |(Level.G|ame.Stat|
|00000330| 4c 6f 67 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |Log != N|one)....|
|00000340| 09 4c 65 76 65 6c 2e 47 | 61 6d 65 2e 53 74 61 74 |.Level.G|ame.Stat|
|00000350| 4c 6f 67 2e 4c 6f 67 49 | 74 65 6d 44 65 61 63 74 |Log.LogI|temDeact|
|00000360| 69 76 61 74 65 28 53 65 | 6c 66 2c 20 50 61 77 6e |ivate(Se|lf, Pawn|
|00000370| 28 4f 77 6e 65 72 29 29 | 3b 0d 0a 09 7d 0d 0a 09 |(Owner))|;...}...|
|00000380| 44 65 73 74 72 6f 79 28 | 29 3b 0d 0a 7d 0d 0a 0d |Destroy(|);..}...|
|00000390| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000003a0| 69 6f 6e 20 46 69 72 65 | 45 66 66 65 63 74 28 29 |ion Fire|Effect()|
|000003b0| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 28 54 69 6d 65 |..{...if| ( (Time|
|000003c0| 72 52 61 74 65 20 2d 20 | 54 69 6d 65 72 43 6f 75 |rRate - |TimerCou|
|000003d0| 6e 74 65 72 20 3c 20 35 | 29 20 26 26 20 28 4c 65 |nter < 5|) && (Le|
|000003e0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 21 3d 20 4e |vel.NetM|ode != N|
|000003f0| 4d 5f 43 6c 69 65 6e 74 | 29 20 29 0d 0a 09 09 50 |M_Client|) )....P|
|00000400| 61 77 6e 28 4f 77 6e 65 | 72 29 2e 57 65 61 70 6f |awn(Owne|r).Weapo|
|00000410| 6e 2e 50 6c 61 79 4f 77 | 6e 65 64 53 6f 75 6e 64 |n.PlayOw|nedSound|
|00000420| 28 45 6e 64 46 69 72 65 | 53 6f 75 6e 64 2c 20 53 |(EndFire|Sound, S|
|00000430| 4c 4f 54 5f 49 6e 74 65 | 72 61 63 74 2c 20 38 29 |LOT_Inte|ract, 8)|
|00000440| 3b 0d 0a 09 65 6c 73 65 | 20 0d 0a 09 09 50 61 77 |;...else| ....Paw|
|00000450| 6e 28 4f 77 6e 65 72 29 | 2e 57 65 61 70 6f 6e 2e |n(Owner)|.Weapon.|
|00000460| 50 6c 61 79 4f 77 6e 65 | 64 53 6f 75 6e 64 28 45 |PlayOwne|dSound(E|
|00000470| 78 74 72 61 46 69 72 65 | 53 6f 75 6e 64 2c 20 53 |xtraFire|Sound, S|
|00000480| 4c 4f 54 5f 49 6e 74 65 | 72 61 63 74 2c 20 38 29 |LOT_Inte|ract, 8)|
|00000490| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000004a0| 20 53 65 74 4f 77 6e 65 | 72 4c 69 67 68 74 69 6e | SetOwne|rLightin|
|000004b0| 67 28 29 0d 0a 7b 0d 0a | 09 69 66 20 28 20 28 50 |g()..{..|.if ( (P|
|000004c0| 61 77 6e 28 4f 77 6e 65 | 72 29 20 21 3d 20 4e 6f |awn(Owne|r) != No|
|000004d0| 6e 65 29 20 26 26 20 50 | 61 77 6e 28 4f 77 6e 65 |ne) && P|awn(Owne|
|000004e0| 72 29 2e 49 73 50 6c 61 | 79 65 72 50 61 77 6e 28 |r).IsPla|yerPawn(|
|000004f0| 29 0d 0a 09 09 26 26 20 | 28 50 61 77 6e 28 4f 77 |)....&& |(Pawn(Ow|
|00000500| 6e 65 72 29 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ner).Pla|yerRepli|
|00000510| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 48 61 73 46 6c |cationIn|fo.HasFl|
|00000520| 61 67 20 21 3d 20 4e 6f | 6e 65 29 20 29 20 0d 0a |ag != No|ne) ) ..|
|00000530| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 4f 77 6e 65 |..return|;...Owne|
|00000540| 72 2e 41 6d 62 69 65 6e | 74 47 6c 6f 77 20 3d 20 |r.Ambien|tGlow = |
|00000550| 32 35 34 3b 20 0d 0a 09 | 4f 77 6e 65 72 2e 4c 69 |254; ...|Owner.Li|
|00000560| 67 68 74 45 66 66 65 63 | 74 3d 4c 45 5f 4e 6f 6e |ghtEffec|t=LE_Non|
|00000570| 49 6e 63 69 64 65 6e 63 | 65 3b 0d 0a 09 4f 77 6e |Incidenc|e;...Own|
|00000580| 65 72 2e 4c 69 67 68 74 | 42 72 69 67 68 74 6e 65 |er.Light|Brightne|
|00000590| 73 73 3d 32 35 35 3b 0d | 0a 09 4f 77 6e 65 72 2e |ss=255;.|..Owner.|
|000005a0| 4c 69 67 68 74 48 75 65 | 3d 32 31 30 3b 0d 0a 09 |LightHue|=210;...|
|000005b0| 4f 77 6e 65 72 2e 4c 69 | 67 68 74 52 61 64 69 75 |Owner.Li|ghtRadiu|
|000005c0| 73 3d 31 30 3b 0d 0a 09 | 4f 77 6e 65 72 2e 4c 69 |s=10;...|Owner.Li|
|000005d0| 67 68 74 53 61 74 75 72 | 61 74 69 6f 6e 3d 30 3b |ghtSatur|ation=0;|
|000005e0| 0d 0a 09 4f 77 6e 65 72 | 2e 4c 69 67 68 74 54 79 |...Owner|.LightTy|
|000005f0| 70 65 3d 4c 54 5f 53 74 | 65 61 64 79 3b 0d 0a 09 |pe=LT_St|eady;...|
|00000600| 4f 77 6e 65 72 2e 62 44 | 79 6e 61 6d 69 63 4c 69 |Owner.bD|ynamicLi|
|00000610| 67 68 74 20 3d 20 74 72 | 75 65 3b 0d 0a 7d 0d 0a |ght = tr|ue;..}..|
|00000620| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 55 44 |..functi|on SetUD|
|00000630| 61 6d 61 67 65 57 65 61 | 70 6f 6e 28 29 0d 0a 7b |amageWea|pon()..{|
|00000640| 0d 0a 09 69 66 20 28 20 | 21 62 41 63 74 69 76 65 |...if ( |!bActive|
|00000650| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 0d | )....re|turn;...|
|00000660| 0a 09 53 65 74 4f 77 6e | 65 72 4c 69 67 68 74 69 |..SetOwn|erLighti|
|00000670| 6e 67 28 29 3b 0d 0a 0d | 0a 09 2f 2f 20 4d 61 6b |ng();...|..// Mak|
|00000680| 65 20 6f 6c 64 20 77 65 | 61 70 6f 6e 20 6e 6f 72 |e old we|apon nor|
|00000690| 6d 61 6c 20 61 67 61 69 | 6e 2e 0d 0a 09 69 66 20 |mal agai|n....if |
|000006a0| 28 20 55 44 61 6d 61 67 | 65 57 65 61 70 6f 6e 20 |( UDamag|eWeapon |
|000006b0| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |!= None |)...{...|
|000006c0| 09 55 44 61 6d 61 67 65 | 57 65 61 70 6f 6e 2e 53 |.UDamage|Weapon.S|
|000006d0| 65 74 44 65 66 61 75 6c | 74 44 69 73 70 6c 61 79 |etDefaul|tDisplay|
|000006e0| 50 72 6f 70 65 72 74 69 | 65 73 28 29 3b 0d 0a 09 |Properti|es();...|
|000006f0| 09 55 44 61 6d 61 67 65 | 57 65 61 70 6f 6e 2e 41 |.UDamage|Weapon.A|
|00000700| 66 66 65 63 74 6f 72 20 | 3d 20 4e 6f 6e 65 3b 0d |ffector |= None;.|
|00000710| 0a 09 7d 0d 0a 09 09 0d | 0a 09 55 44 61 6d 61 67 |..}.....|..UDamag|
|00000720| 65 57 65 61 70 6f 6e 20 | 3d 20 50 61 77 6e 28 4f |eWeapon |= Pawn(O|
|00000730| 77 6e 65 72 29 2e 57 65 | 61 70 6f 6e 3b 0d 0a 09 |wner).We|apon;...|
|00000740| 2f 2f 20 4d 61 6b 65 20 | 6e 65 77 20 77 65 61 70 |// Make |new weap|
|00000750| 6f 6e 20 63 6f 6f 6c 2e | 0d 0a 09 69 66 20 28 20 |on cool.|...if ( |
|00000760| 55 44 61 6d 61 67 65 57 | 65 61 70 6f 6e 20 21 3d |UDamageW|eapon !=|
|00000770| 20 4e 6f 6e 65 20 29 0d | 0a 09 7b 0d 0a 09 09 55 | None ).|..{....U|
|00000780| 44 61 6d 61 67 65 57 65 | 61 70 6f 6e 2e 41 66 66 |DamageWe|apon.Aff|
|00000790| 65 63 74 6f 72 20 3d 20 | 73 65 6c 66 3b 0d 0a 09 |ector = |self;...|
|000007a0| 09 69 66 20 28 20 4c 65 | 76 65 6c 2e 62 48 69 67 |.if ( Le|vel.bHig|
|000007b0| 68 44 65 74 61 69 6c 4d | 6f 64 65 20 29 0d 0a 09 |hDetailM|ode )...|
|000007c0| 09 09 55 44 61 6d 61 67 | 65 57 65 61 70 6f 6e 2e |..UDamag|eWeapon.|
|000007d0| 53 65 74 44 69 73 70 6c | 61 79 50 72 6f 70 65 72 |SetDispl|ayProper|
|000007e0| 74 69 65 73 28 45 52 65 | 6e 64 65 72 53 74 79 6c |ties(ERe|nderStyl|
|000007f0| 65 2e 53 54 59 5f 54 72 | 61 6e 73 6c 75 63 65 6e |e.STY_Tr|anslucen|
|00000800| 74 2c 20 0d 0a 09 09 09 | 09 09 09 09 09 09 20 46 |t, .....|...... F|
|00000810| 69 72 65 54 65 78 74 75 | 72 65 27 57 61 72 45 66 |ireTextu|re'WarEf|
|00000820| 66 65 63 74 73 2e 42 65 | 6c 74 5f 66 78 2e 55 44 |fects.Be|lt_fx.UD|
|00000830| 61 6d 61 67 65 46 58 27 | 2c 0d 0a 09 09 09 09 09 |amageFX'|,.......|
|00000840| 09 09 09 09 20 74 72 75 | 65 29 3b 0d 0a 09 09 65 |.... tru|e);....e|
|00000850| 6c 73 65 0d 0a 09 09 09 | 55 44 61 6d 61 67 65 57 |lse.....|UDamageW|
|00000860| 65 61 70 6f 6e 2e 53 65 | 74 44 69 73 70 6c 61 79 |eapon.Se|tDisplay|
|00000870| 50 72 6f 70 65 72 74 69 | 65 73 28 45 52 65 6e 64 |Properti|es(ERend|
|00000880| 65 72 53 74 79 6c 65 2e | 53 54 59 5f 4e 6f 72 6d |erStyle.|STY_Norm|
|00000890| 61 6c 2c 20 0d 0a 09 09 | 09 09 09 09 09 20 46 69 |al, ....|..... Fi|
|000008a0| 72 65 54 65 78 74 75 72 | 65 27 57 61 72 45 66 66 |reTextur|e'WarEff|
|000008b0| 65 63 74 73 2e 42 65 6c | 74 5f 66 78 2e 55 44 61 |ects.Bel|t_fx.UDa|
|000008c0| 6d 61 67 65 46 58 27 2c | 0d 0a 09 09 09 09 09 09 |mageFX',|........|
|000008d0| 09 20 74 72 75 65 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |. true);|...}..}.|
|000008e0| 0a 0d 0a 2f 2f 0d 0a 2f | 2f 20 50 6c 61 79 65 72 |...//../|/ Player|
|000008f0| 20 68 61 73 20 61 63 74 | 69 76 61 74 65 64 20 74 | has act|ivated t|
|00000900| 68 65 20 69 74 65 6d 2c | 20 70 75 6d 70 20 75 70 |he item,| pump up|
|00000910| 20 74 68 65 69 72 20 64 | 61 6d 61 67 65 2e 0d 0a | their d|amage...|
|00000920| 2f 2f 0d 0a 73 74 61 74 | 65 20 41 63 74 69 76 61 |//..stat|e Activa|
|00000930| 74 65 64 0d 0a 7b 0d 0a | 09 66 75 6e 63 74 69 6f |ted..{..|.functio|
|00000940| 6e 20 54 69 6d 65 72 28 | 29 0d 0a 09 7b 0d 0a 09 |n Timer(|)...{...|
|00000950| 09 69 66 20 28 20 46 69 | 6e 61 6c 43 6f 75 6e 74 |.if ( Fi|nalCount|
|00000960| 20 3e 20 30 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 | > 0 )..|..{.....|
|00000970| 53 65 74 54 69 6d 65 72 | 28 31 2e 30 2c 20 74 72 |SetTimer|(1.0, tr|
|00000980| 75 65 29 3b 0d 0a 09 09 | 09 4f 77 6e 65 72 2e 50 |ue);....|.Owner.P|
|00000990| 6c 61 79 53 6f 75 6e 64 | 28 44 65 41 63 74 69 76 |laySound|(DeActiv|
|000009a0| 61 74 65 53 6f 75 6e 64 | 2c 2c 20 38 29 3b 0d 0a |ateSound|,, 8);..|
|000009b0| 09 09 09 46 69 6e 61 6c | 43 6f 75 6e 74 2d 2d 3b |...Final|Count--;|
|000009c0| 0d 0a 09 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 09 |.....ret|urn;....|
|000009d0| 7d 0d 0a 09 09 55 73 65 | 64 55 70 28 29 3b 0d 0a |}....Use|dUp();..|
|000009e0| 09 7d 0d 0a 0d 0a 09 66 | 75 6e 63 74 69 6f 6e 20 |.}.....f|unction |
|000009f0| 53 65 74 4f 77 6e 65 72 | 44 69 73 70 6c 61 79 28 |SetOwner|Display(|
|00000a00| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 28 20 49 6e 76 |)...{...|.if( Inv|
|00000a10| 65 6e 74 6f 72 79 20 21 | 3d 20 4e 6f 6e 65 20 29 |entory !|= None )|
|00000a20| 0d 0a 09 09 09 49 6e 76 | 65 6e 74 6f 72 79 2e 53 |.....Inv|entory.S|
|00000a30| 65 74 4f 77 6e 65 72 44 | 69 73 70 6c 61 79 28 29 |etOwnerD|isplay()|
|00000a40| 3b 0d 0a 0d 0a 09 09 53 | 65 74 55 44 61 6d 61 67 |;......S|etUDamag|
|00000a50| 65 57 65 61 70 6f 6e 28 | 29 3b 0d 0a 09 7d 0d 0a |eWeapon(|);...}..|
|00000a60| 0d 0a 09 66 75 6e 63 74 | 69 6f 6e 20 4f 77 6e 65 |...funct|ion Owne|
|00000a70| 72 45 76 65 6e 74 28 6e | 61 6d 65 20 45 76 65 6e |rEvent(n|ame Even|
|00000a80| 74 4e 61 6d 65 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |tName)..|.{....if|
|00000a90| 28 20 49 6e 76 65 6e 74 | 6f 72 79 20 21 3d 20 4e |( Invent|ory != N|
|00000aa0| 6f 6e 65 20 29 0d 0a 09 | 09 09 49 6e 76 65 6e 74 |one )...|..Invent|
|00000ab0| 6f 72 79 2e 4f 77 6e 65 | 72 45 76 65 6e 74 28 45 |ory.Owne|rEvent(E|
|00000ac0| 76 65 6e 74 4e 61 6d 65 | 29 3b 0d 0a 0d 0a 09 09 |ventName|);......|
|00000ad0| 69 66 20 28 20 45 76 65 | 6e 74 4e 61 6d 65 20 3d |if ( Eve|ntName =|
|00000ae0| 3d 20 27 43 68 61 6e 67 | 65 64 57 65 61 70 6f 6e |= 'Chang|edWeapon|
|00000af0| 27 20 29 0d 0a 09 09 09 | 53 65 74 55 44 61 6d 61 |' ).....|SetUDama|
|00000b00| 67 65 57 65 61 70 6f 6e | 28 29 3b 0d 0a 09 7d 0d |geWeapon|();...}.|
|00000b10| 0a 0d 0a 09 66 75 6e 63 | 74 69 6f 6e 20 45 6e 64 |....func|tion End|
|00000b20| 53 74 61 74 65 28 29 0d | 0a 09 7b 0d 0a 09 09 55 |State().|..{....U|
|00000b30| 73 65 64 55 70 28 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |sedUp();|...}....|
|00000b40| 09 66 75 6e 63 74 69 6f | 6e 20 42 65 67 69 6e 53 |.functio|n BeginS|
|00000b50| 74 61 74 65 28 29 0d 0a | 09 7b 0d 0a 09 09 62 41 |tate()..|.{....bA|
|00000b60| 63 74 69 76 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |ctive = |true;...|
|00000b70| 09 46 69 6e 61 6c 43 6f | 75 6e 74 20 3d 20 4d 69 |.FinalCo|unt = Mi|
|00000b80| 6e 28 46 69 6e 61 6c 43 | 6f 75 6e 74 2c 20 30 2e |n(FinalC|ount, 0.|
|00000b90| 31 20 2a 20 43 68 61 72 | 67 65 20 2d 20 31 29 3b |1 * Char|ge - 1);|
|00000ba0| 0d 0a 09 09 53 65 74 54 | 69 6d 65 72 28 30 2e 31 |....SetT|imer(0.1|
|00000bb0| 20 2a 20 43 68 61 72 67 | 65 20 2d 20 46 69 6e 61 | * Charg|e - Fina|
|00000bc0| 6c 43 6f 75 6e 74 2c 66 | 61 6c 73 65 29 3b 0d 0a |lCount,f|alse);..|
|00000bd0| 09 09 4f 77 6e 65 72 2e | 50 6c 61 79 53 6f 75 6e |..Owner.|PlaySoun|
|00000be0| 64 28 41 63 74 69 76 61 | 74 65 53 6f 75 6e 64 29 |d(Activa|teSound)|
|00000bf0| 3b 09 0d 0a 09 09 53 65 | 74 4f 77 6e 65 72 4c 69 |;.....Se|tOwnerLi|
|00000c00| 67 68 74 69 6e 67 28 29 | 3b 0d 0a 09 09 50 61 77 |ghting()|;....Paw|
|00000c10| 6e 28 4f 77 6e 65 72 29 | 2e 44 61 6d 61 67 65 53 |n(Owner)|.DamageS|
|00000c20| 63 61 6c 69 6e 67 20 3d | 20 33 2e 30 3b 0d 0a 09 |caling =| 3.0;...|
|00000c30| 09 53 65 74 55 44 61 6d | 61 67 65 57 65 61 70 6f |.SetUDam|ageWeapo|
|00000c40| 6e 28 29 3b 09 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |n();....|}..}....|
|00000c50| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+